package com.xframe.domain.sys;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.*;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.InputStream;


/**
 * 登录界面轮播图
 * com.xframe.domain.sys.SysHomeImage
 * @author xufeng
 * @version 1.0
 * @date 2023-03-28
 */
@Data
@Accessors(chain=true)
@XTable(value = "sys_home_img", label = "登录界面轮播图")
public class SysHomeImage extends BaseModel {
    /**
     * 轮播图ID
     */


    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "home_img_id", primaryKeyFlag = true, uniqueFlag = true,desc = "轮播图ID")
    private Long homeImgId;

    /**
     * 系统编码
     */
    @XColumn(name = "sys_code",desc = "命令编码",length = 50)
    private String sysCode;

    /**
     * 图片标题
     */
    @XColumn(name = "img_title",desc = "图片标题",length = 50)
    private String imgTitle;

    /**
     * 图片说明
     */
    @XColumn(name = "remark",desc = "图片说明",length = 500,nullFlag = true)
    private String remark;

    /**
     * 图片
     */
    @XColumn(name = "file_url",desc = "图片")
    private String fileUrl;

    /**
     * 文件名称
     */
    @XColumn(name = "file_name",desc = "文件名称",length = 50)
    private String fileName;

    /**
     * 排序码
     */
    @AutoFill(defVal = "0")
    @XColumn(name = "order_no",desc = "排序码")
    private Integer orderNo;
}
